home *** CD-ROM | disk | FTP | other *** search
- IACHAR(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- IIAACCHHAARR - Returns the position of a character in the ASCII collating
- sequence
-
- SSYYNNOOPPSSIISS
- IIAACCHHAARR (([CC==]_c))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The IIAACCHHAARR intrinsic function returns the position of a character in
- the ASCII collating sequence. It accepts the following argument:
-
- _c Must be of type character and of length 1
-
- IIAACCHHAARR is an elemental function. The name of this intrinsic cannot be
- passed as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result type is a default integer value. If _c is in the collating
- sequence defined by the codes specified in ISO 646:1983 (International
- Reference Version), the result is the position of _c in that sequence
- and satisfies the inequality (0 <= IIAACCHHAARR (_c) <= 127). The results
- are consistent with the LLGGEE, LLGGTT, LLLLEE, and LLLLTT lexical comparison
- functions. For example, if LLLLEE((CC,,DD)) is true, IIAACCHHAARR((CC))..LLEE..IIAACCHHAARR((DD))
- is true when CC and DD are any two ASCII characters.
-
- EEXXAAMMPPLLEESS
- IIAACCHHAARR((''XX'')) has the value 88.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-